home *** CD-ROM | disk | FTP | other *** search
/ Aminet 32 / Aminet 32 (1999)(Schatztruhe)[!][Aug 1999].iso / Aminet / dev / amos / Mazer.lha / ReadMe < prev   
Text File  |  1999-05-06  |  2KB  |  42 lines

  1. These programs are part of a bigger project that yu can read more about at
  2. http://member.tripod.com/~Skribenten/furry/Rainbow
  3.  
  4. The algorithm is based on a program called SimpMaze that was published in a
  5. magazine a couple of decades ago.
  6.  
  7. All three programs are found both as AMOS source and as compiled  execu-
  8. tables. The executables even have icons so you can run them from Workbench.
  9.  
  10. RainMazer (if you wonder what the name means check the website) generates a
  11. 7*7 maze with visual feedback then asks if you want another. You can try to
  12. solve the maze on the screen before you answer. The maze data is saved in
  13. the file "Mazes" for further processing.
  14.  
  15. FastMazer is much faster because it works without graphics or delays. It
  16. just asks how many mazes you want, generates them (and saves the data the
  17. same way) then quits.
  18.  
  19. BigMazer works the same way as RainMaze and has nothing to do with the
  20. mentioned project, I just wanted to see how big a maze could be with the
  21. chosen graphics and how long it would take to generate. It stores maze data
  22. in the file "bMazes".
  23.  
  24. A bit more information if you want to write any "programs for further pro-
  25. cessing":
  26. Each room is represented by one byte where bits 0, 1, 2 and 3 are set if
  27. the room has an exit to the north, east, south and west respectively. In
  28. addition bit 5 is set to make each byte printable and make the file more
  29. compatible with other programs (You may wish to Sort the file to check for
  30. duplicates, for instance). The bytes are stored without separators, so each
  31. maze is represented by one text line. The lines are separated by standard
  32. AMOS EOL codes (CR+LF), so to access the file as a random file the record
  33. length must be set to 51 (7*7+2).
  34.  
  35.  
  36.   Ragnar Fyri
  37.   Idunns vei 15
  38.   1386 Asker
  39.   Norway
  40.  
  41.   ragnar.fyri@daf.no
  42.